package assignment1;

import java.io.BufferedReader;
import java.io.InputStreamReader;
/**
 *
 * @author rain.divine88
 */

//getting input from user
public class GetUserInput {
        public static String getUserInput(String input){
            String bfReader = null;
            System.out.print(input + " ");
            
            //bufferedreader to catch the input
            BufferedReader bReader = new BufferedReader(new InputStreamReader(System.in));
            try {
                bfReader = bReader.readLine();
            } catch (Exception e) {
                System.out.println("Error: " + e);
            }
            return bfReader.toLowerCase();
        }
}
